package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 充值记录
 * TableName : SYS_RECHARGE
 * ClassName : com.swlz.entity.Recharge
 * Author :swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-12 23:12:15
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("SYS_RECHARGE")
public class Recharge  {


	/**
	 * <pre>充值编号 - RECHARGE_ID</pre>
	 **/
	@Id
	private Long rechargeId;
	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	private Long userId;
	/**
	 * <pre>充值金额 - RECHARGE_MONEY</pre>
	 **/
	private Float rechargeMoney;
	/**
	 * <pre>充值积分 - RECHARGE_SCORE</pre>
	 **/
	private Integer rechargeScore;
	/**
	 * <pre>充值支付类型 - RECHARGE_PAY_TYPE_ID</pre>
	 **/
	private Integer rechargePayTypeId;
	/**
	 * <pre>充值支付订单号 - RECHARGE_PAY_ID</pre>
	 **/
	private String rechargePayId;
	/**
	 * <pre>充值时间 - RECHARGE_TIME</pre>
	 **/
	@JSONField(format="yyyy-MM-dd HH:mm")
	private java.util.Date rechargeTime;
	/**
	 * <pre>充值支付状态
	 *             -1 - 支付取消
	 *             0 - 未支付
	 *             1 - 支付完成 - RECHARGE_STATUS</pre>
	 **/
	private Integer rechargeStatus;


	/**
	 * <pre>获取充值编号</pre>
	 **/
	public Long getRechargeId() {
        return rechargeId;
    }

	/**
	 * <pre>设置充值编号</pre>
	 **/
    public void setRechargeId(Long rechargeId) {
        this.rechargeId = rechargeId;
    }

	/**
	 * <pre>获取用户编号</pre>
	 **/
	public Long getUserId() {
        return userId;
    }

	/**
	 * <pre>设置用户编号</pre>
	 **/
    public void setUserId(Long userId) {
        this.userId = userId;
    }

	/**
	 * <pre>获取充值金额</pre>
	 **/
	public Float getRechargeMoney() {
        return rechargeMoney;
    }

	/**
	 * <pre>设置充值金额</pre>
	 **/
    public void setRechargeMoney(Float rechargeMoney) {
        this.rechargeMoney = rechargeMoney;
    }

	/**
	 * <pre>获取充值积分</pre>
	 **/
	public Integer getRechargeScore() {
        return rechargeScore;
    }

	/**
	 * <pre>设置充值积分</pre>
	 **/
    public void setRechargeScore(Integer rechargeScore) {
        this.rechargeScore = rechargeScore;
    }

	/**
	 * <pre>获取充值支付类型</pre>
	 **/
	public Integer getRechargePayTypeId() {
        return rechargePayTypeId;
    }

	/**
	 * <pre>设置充值支付类型</pre>
	 **/
    public void setRechargePayTypeId(Integer rechargePayTypeId) {
        this.rechargePayTypeId = rechargePayTypeId;
    }

	/**
	 * <pre>获取充值支付订单号</pre>
	 **/
	public String getRechargePayId() {
        return rechargePayId;
    }

	/**
	 * <pre>设置充值支付订单号</pre>
	 **/
    public void setRechargePayId(String rechargePayId) {
        this.rechargePayId = rechargePayId;
    }

	/**
	 * <pre>获取充值时间</pre>
	 **/
	public java.util.Date getRechargeTime() {
        return rechargeTime;
    }

	/**
	 * <pre>设置充值时间</pre>
	 **/
    public void setRechargeTime(java.util.Date rechargeTime) {
        this.rechargeTime = rechargeTime;
    }

	/**
	 * <pre>获取充值支付状态
	 *             -1 - 支付取消
	 *             0 - 未支付
	 *             1 - 支付完成</pre>
	 **/
	public Integer getRechargeStatus() {
        return rechargeStatus;
    }

	/**
	 * <pre>设置充值支付状态
	 *             -1 - 支付取消
	 *             0 - 未支付
	 *             1 - 支付完成</pre>
	 **/
    public void setRechargeStatus(Integer rechargeStatus) {
        this.rechargeStatus = rechargeStatus;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("rechargeId=");
    	str.append(rechargeId);
    	str.append(", ");
    	str.append("userId=");
    	str.append(userId);
    	str.append(", ");
    	str.append("rechargeMoney=");
    	str.append(rechargeMoney);
    	str.append(", ");
    	str.append("rechargeScore=");
    	str.append(rechargeScore);
    	str.append(", ");
    	str.append("rechargePayTypeId=");
    	str.append(rechargePayTypeId);
    	str.append(", ");
    	str.append("rechargePayId=");
    	str.append(rechargePayId);
    	str.append(", ");
    	str.append("rechargeTime=");
    	str.append(rechargeTime);
    	str.append(", ");
    	str.append("rechargeStatus=");
    	str.append(rechargeStatus);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}